<?php
/**
 * 基类
 * @author HexPang
 * @copyright JI'AO Information Technology Co. Limited
 * @version 1.0
 * 	For Content Manager System Lite(cms_l,cpms)
 */
class baseFunc{
	var $db = null;
	var $request = null;
	var $page = 1;
	var $pageShow = 10;
	function __construct(){
		global $SQL;
		$this->db = $SQL;
		$this->request = $_REQUEST;
		$this->page = isset($_REQUEST['p']) ? intval($_REQUEST['p']) : 1;
		$this->pageShow = isset($_REQUEST['ps']) ? intval($_REQUEST['ps']) : 10;
	}
}
?>